package com.pro.dl.pojo.doctor;

import java.util.Date;

import com.pro.dl.pojo.Patient;

public class Appointment {

	private long id;
	private Date appointmentStartDateTime;
	private String description;
	private String title;
	private Date appointmentEndDateTime;
	private Doctor doctor;
	private Patient patient;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public Date getAppointmentStartDateTime() {
		return appointmentStartDateTime;
	}
	public void setAppointmentStartDateTime(Date appointmentStartDateTime) {
		this.appointmentStartDateTime = appointmentStartDateTime;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Date getAppointmentEndDateTime() {
		return appointmentEndDateTime;
	}
	public void setAppointmentEndDateTime(Date appointmentEndDateTime) {
		this.appointmentEndDateTime = appointmentEndDateTime;
	}
	public Doctor getDoctor() {
		return doctor;
	}
	public void setDoctor(Doctor doctor) {
		this.doctor = doctor;
	}
	public Patient getPatient() {
		return patient;
	}
	public void setPatient(Patient patient) {
		this.patient = patient;
	}
	@Override
	public String toString() {
		return "Appointment [id=" + id + ", appointmentStartDateTime=" + appointmentStartDateTime + ", description=" + description + ", title=" + title
				+ ", appointmentEndDateTime=" + appointmentEndDateTime + ", doctor=" + doctor + ", patient=" + patient + "]";
	}
	
	
}
